package miiteen.demo.web.beans;

import com.fasterxml.jackson.annotation.JsonFormat;
import miiteen.common.utils.FieldMeta;
import miiteen.sys.base.bean.BasePo;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class WebInfo extends BasePo {




    @FieldMeta(name = "GUID")
    private String id;

    @FieldMeta(name = "HB2012ID")
    private String resourceId;

    @FieldMeta(name = "加急")
    private String emergency;

    @FieldMeta(name = "SN")
    private String sn;

    @FieldMeta(name = "任务标题")
    private String title;

    @FieldMeta(name = "url链接")
    private String url;

    @FieldMeta(name = "处室名称")
    private String topOuName;

    @FieldMeta(name = "部门")
    private String deptName;

    @FieldMeta(name = "创建者")
    private String creatorName;

    @FieldMeta(name = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date  completedTime;

    @FieldMeta(name = "完成标签")
    private String completedFlag;

    @FieldMeta(name = "行数")
    private String rowNum;

    @FieldMeta(name = "表名")
    private String tableName;

    @FieldMeta(name = "今日浏览量")
    private int todayNumber;

    @FieldMeta(name = "总浏览量")
    private int totalNumber;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getResourceId() {
        return resourceId;
    }

    public void setResourceId(String resourceId) {
        this.resourceId = resourceId;
    }

    public String getEmergency() {
        return emergency;
    }

    public void setEmergency(String emergency) {
        this.emergency = emergency;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTopOuName() {
        return topOuName;
    }

    public void setTopOuName(String topOuName) {
        this.topOuName = topOuName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getCreatorName() {
        return creatorName;
    }

    public void setCreatorName(String creatorName) {
        this.creatorName = creatorName;
    }

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    public Date getCompletedTime() {
        return completedTime;
    }

    public void setCompletedTime(Date completedTime) {
        this.completedTime = completedTime;
    }

    public String getCompletedFlag() {
        return completedFlag;
    }

    public void setCompletedFlag(String completedFlag) {
        this.completedFlag = completedFlag;
    }

    public String getRowNum() {
        return rowNum;
    }

    public void setRowNum(String rowNum) {
        this.rowNum = rowNum;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public int getTodayNumber() {
        return todayNumber;
    }

    public void setTodayNumber(int todayNumber) {
        this.todayNumber = todayNumber;
    }

    public int getTotalNumber() {
        return totalNumber;
    }

    public void setTotalNumber(int totalNumber) {
        this.totalNumber = totalNumber;
    }
}
